-- GENERATED SPELL FOR [Putrid Abomination] --


function spell0_28564(pUnit, Event) --@Vile Vomit,n/a--
pUnit:FullCastSpellOnTarget(54340,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28564', 12000, 1)
end

function Sorts_28564(pUnit, Event)
local choix_sorts_28564 = math.random(0, 0)
if choix_sorts_28564 == 0 then
pUnit:RegisterEvent('spell0_28564', 1, 1)
end
end

function mob28564_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28564', math.random(1500, 3000), 1)
end

function mob28564_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28564_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28564_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28564, 1, 'mob28564_Action')
RegisterUnitEvent(28564, 2, 'mob28564_Leave')
RegisterUnitEvent(28564, 3, 'mob28564_Kill')
RegisterUnitEvent(28564, 4, 'mob28564_Die')
